import isPhone from "@/tools/isPhone";

(() => {
    viewport();
    window.addEventListener('resize', viewport);
})()

function viewport() {
    const W = 375;
    const styleN = window.document.querySelector('meta#viewport');
    styleN.content = `width=device-width,width=${W},initial-scale=${isPhone ? window.outerWidth / W : 1},user-scalable=no`;
}